.layout-body {
  left: 0;
  bottom: 0 !important;
  top: 0 !important;
  overflow: hidden;
  transition: all ease-in-out .2s;
  z-index: auto !important;
  .layui-tab {
    border: 0 !important;
  }
}

.layout-tab {
  margin: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.layout-header-bar {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  display: flex;
  background: #393D49;
}

.layout-brand {
  display: inline-block;
  padding: 0 20px;
  line-height: 20px;
  color: white;
  font-size: 17px;
  vertical-align: middle;
}

.layout-tab-content {
  margin-left: 200px;
  transition: all ease-in-out .2s;
  padding: 0;
  flex: 1;
  & > .layui-tab-item {
    width: 100%;
    height: 100%;
    & > iframe {
      width: 100%;
      height: 100%;
      border: none;
      overflow: scroll;
    }
  }
}

.layout-nav.layout-nav-left {
  left: 230px;
}

.layout-switch-menu {
  height: 30px;
  line-height: 30px;
  text-align: center;
  width: 100%;
  transition: all ease-in-out .2s;
}

// 导航条上的隐藏menu按钮
.fsSwitchMenu {
  cursor: pointer;
  text-align: center;
  vertical-align: middle;
  color: #fff;
  &:hover {
    background: #4E5465;
  }
}

.layout-side {
  z-index: 999;
  transition: all ease-in-out .2s;
  overflow-x: visible !important;
  .layui-nav {
    overflow-x: hidden !important;
    transition: all ease-in-out .2s;
  }
  .layui-side-scroll {
    transition: all ease-in-out .2s;
  }
}

.showMenu {
  .layout-side {
    width: 200px !important;
  }
  .layout-tab-title {
    padding-left: 0;
  }
}

.hideMenu {
  .layout-side {
    width: 50px !important;
  }
  .layui-nav {
    width: 50px;
  }
  .layui-nav-item {
    a {
      padding: 0 !important;
      text-align: center !important;
    }
    .layui-nav-more {
      display: none !important;
    }
    cite {
      display: none !important;
    }
  }
  .layout-tab-content {
    margin-left: 50px;
  }
  .layui-side-scroll {
    width: 50px;
  }
  .layout-user {
    transition: all ease-in-out .2s;
    padding: 15px 10px;
    cite {
      display: none;
    }
  }
}

.layui-layer-iframe {
  overflow-y: hidden !important;
}

.layout-header {
  width: 200px;
  background: #393D49;
  overflow: hidden;
  .layui-logo {
    background: #393D49;
    height: 60px !important;
  }
}

.layout-tab-title {
  z-index: 1000;
  height: 60px;
  background-color: #393D49 !important;
  border-bottom-width: 0;
  transition: all ease-in-out .2s;
  overflow: hidden;
  width: 100%;
  li {
    line-height: 60px;
    color: white;
    border: none !important;
    margin: 0 !important;
    &.layui-this {
      background-color: darken(#393D49, 10) !important;
      color: white !important;
      &:after {
        border: none !important;
      }
    }
  }
  cite {
    font-style: normal !important;
  }
  .layui-tab-bar {
    height: 60px !important;
    line-height: 60px !important;
    background-color: #393D49 !important;
    color: white !important;
    border: none !important;
  }
}

.layout-user {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200px;
  color: white;
  padding: 15px;
  box-sizing: border-box;
  a {
    color: rgba(255, 255, 255, .7);
  }
  .dropdown-menu {
    background-color: #393D49;
    bottom: 50px;
    left: 10px;
    & > li > a {
      padding: 3px 10px;
      color: rgba(255, 255, 255, .7) !important;
      &:hover, :focus {
        background-color: darken(#393D49, 5);
      }
    }
  }
}

.layui-side-scroll {
  height: calc(100vh - 120px) !important;
}
